name_list = ['z张三', 'l李四', 'w王五', 'z张三']
num_list = [5, 6, 8, 4, 9, 10]
num_list2 = [7, 5, 8, 3, 9]

# 升序
name_list.sort()
print(name_list)

# 降序
num_list.sort(reverse=True)
print(num_list)

# 逆序（反转）
num_list2.reverse()
print(num_list2)
